﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MCMesServer.Model
{
    public enum ServerResCode
    {
        #region State
        OPE_UploadStateSuccess = 1001,
        ERR_UploadStateFail = 1002,
        OPE_DownloadStateSuccess = 1003,
        ERR_DownloadStateFail = 1004,
        OPE_SelectProgramSuccess = 2001,
        ERR_SelectProgramFail = 2002,
        OPE_UploadImageSuccess = 3001,
        ERR_UploadImageFail = 3002,
        ERR_NullImageInServer = 3003,

        ERR_UnExpectOfState = 1999,
        #endregion

        #region ProcessSheet
        ERR_NullWorkpiece = 4001,
        ERR_TodayPlanFull = 4003,
        #endregion

        #region ProducePlan
        ERR_NullProducePlanInDB = 5001,
        OPE_DeletePlanSuccess,
        ERR_DeletePlanFail,
        #endregion
    }
}
